import request from '@/utils/request'

// 查询省市县地址列表
export function listDistrict(query) {
  return request({
    url: '/district/district/list',
    method: 'get',
    params: query
  })
}

export function listTopCity() {
  return request({
    url: '/district/district/topCityList',
    method: 'get',
  })
}

export function cityListByName(query) {
  return request({
    url: '/district/district/cityListByName',
    method: 'get',
    params: query
  })
}

